import axios from 'axios'
import storageService from '@/service/storageService'

const service = axios.create({
    baseURL:'http://localhost:8090/v1/',//process.env.VUE_APP_BASE_URL,  //可以单独出一个文件为.env.development中写地址
    timeoout: 1000 * 5,
    headers:{Authorization:storageService.get(storageService.USER_TOKEN)},
})

export default service;